package org.jeecg.modules.system.util;

import lombok.Data;


public class UpdateValue {
    //字段名
    private String filed;
    //变化前的值
    private String beforeValue;
    //变化后的值
    private String afterValue;

    public String getFiled() {
        return filed;
    }

    public void setFiled(String filed) {
        this.filed = filed;
    }

    public String getBeforeValue() {
        return beforeValue;
    }

    public void setBeforeValue(String beforeValue) {
        this.beforeValue = beforeValue;
    }

    public String getAfterValue() {
        return afterValue;
    }

    public void setAfterValue(String afterValue) {
        this.afterValue = afterValue;
    }

    @Override
    public String toString() {
        return
                ",将'" + filed + '\'' +
                ", 由'" + beforeValue + '\'' +
                ", 修改为'" + afterValue ;
    }
}
